package com.vip.base.controller;

import com.vip.base.constant.UrlConsts;
import com.vip.common.response.RestResponse;
import com.vip.common.response.RestResponses;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 系统日志控制器
 *
 * @author LEON
 * @since 2020-03-26
 */
@RestController
@RequestMapping(UrlConsts.ROOT + "/log")
public class SysLogController {

    /**
     * 分页获取系统日志列表
     *
     * @param pageNo
     * @param pageSize
     * @return
     */
    @GetMapping("/list")
    public RestResponse<String> getLogList(@RequestParam Integer pageNo, @RequestParam Integer pageSize) {
        return RestResponses.newSuccessResponse("dasdas", "sss");
    }

}

